//
//  YFProgressView.m
//  project
//
//  Created by yefei on 2019/4/11.
//  Copyright © 2019 健健. All rights reserved.
//

#import "YFProgressView.h"

@implementation YFProgressView

- (instancetype)initWithContentView:(UIView *__unused)contentView {
    UIActivityIndicatorView *indicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:(UIActivityIndicatorViewStyleWhiteLarge)];
    [indicator startAnimating];
    self = [super initWithContentView:indicator];
    
    return self;
}

- (instancetype)init {
    return [self initWithContentView:nil];
}

- (void)updateAccessibility {
    self.accessibilityLabel = NSLocalizedString(@"Success",);
}

@end
